package day7.pack1;

public class Seller {
    private final String name;

    public String getName() {
        return name;
    }

    public Seller() {
        name = "小张";
    }
    public void sellExcelle(Excelle car){
        System.out.println(getName() + "销售了" + car);
    }
    public void sellExcelle(Excelle car, int count){
        System.out.println(getName() + "销售了" + count + "辆" + car);
    }
    public void sellRegal(Regal car){
        System.out.println(getName() + "销售了" + car);
    }

}
